package com.csii.adhoc.info.depart.service;

import com.csii.adhoc.info.depart.DepartPo;
import com.csii.adhoc.info.depart.DepartVo;

import java.util.List;

/**
 * @description: 部门接口
 * @author: panChuanJiang
 * @create: 2021-01-26 11:18
 */
public interface DepartService {
    /**
     * 增、删、改、用户 按optMode区分接口
     * @param departPo
     * @param optMode A U D
     */
    void departMaintain(DepartVo departPo, String optMode);

    /**
     * 查询部门不分页
     * @param departPo
     * @return
     */
    List<DepartPo> selectListDepart(DepartPo departPo);

}
